/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.rhythm.commons.datetime;

/**
 *
 * @author mlee
 */
public class InvalidDateException extends RuntimeException
{
    private static final long serialVersionUID = 1L;
    
    private String message;
    
    public InvalidDateException(String message)
    {
        this.message = message;
    }
    
    @Override
    public String getMessage()
    {
        return this.message;
    }
    
    @Override
    public String toString()
    {
        return this.getMessage();
    }
    
    

}
